<?php 
require_once("../include/conn.php");
if(!empty($_REQUEST["id"])){
$id=$_REQUEST["id"];


$sql_up="select * from $tb_rk  where id = $id ";
$cn_up=mysql_db_query($db_name,$sql_up);

$row_up = mysql_fetch_row($cn_up); 

?>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>无标题文档</title>
<link href="Admin_Style.css" rel="stylesheet" type="text/css">
</head>

<body>
<form action="scrk_ok.php?id=<?php echo $id; ?>" method="post" enctype="multipart/form-data" name="form1" onSubmit="return checked();" >
  <table width="100%"  border="0" cellpadding="0" cellspacing="8" class="tdbg">
    <tr>
      <th colspan="2" class="topbg">修改生产日况</th>
    </tr>
    <tr>
      <td align="right">标题：</td>
      <td width="514"><input name="title" type="text" id="title" onclick="SelectDate(this)" size="16" value="<?php echo $row_up[1]; ?>">
        为日期：请直接单击选择如2007-08-10</td>
    </tr>
    <tr>
      <td align="right">输入日期：</td>
      <td>
	  <script src="../js/Calendar.js" type="text/javascript" language="javascript"></script>
	  <input name="tdate" type="text" id="tdate" onclick="SelectDate(this)" size="16" readonly="readonly" value="<?php echo $row_up[2]; ?>" >
	  为日期：请直接单击选择如2007-08-10 </td>
    </tr>
    <tr>
      <td align="right">集装箱运输收入：</td>
      <td><input name="yssr" type="text" id="yssr" value="<?php echo $row_up[3]; ?>" >
万</td>
    </tr>
    <tr>
      <td align="right">发送集装箱：</td>
      <td><input name="fsjzx" type="text" id="fsjzx" value="<?php echo $row_up[4]; ?>" >
TEU </td>
    </tr>
	<tr>
      <td align="right">发送吨：</td>
      <td><input name="fsd" type="text" id="fsd"  value="<?php echo $row_up[10]; ?>">
吨 </td>
    </tr>
    <tr>
      <td align="right">到达集装箱：</td>
      <td><input name="ddjzx" type="text" id="ddjzx" value="<?php echo $row_up[5]; ?>" >
TEU</td>
    </tr>
    <tr>
      <td align="right">货场装卸车作业量：</td>
      <td><input name="hczxc" type="text" id="hczxc" value="<?php echo $row_up[6]; ?>" >
车</td>
    </tr>
    <tr>
      <td align="right">集装箱五定班列开行数：</td>
      <td><input name="wdblk" type="text" id="wdblk" value="<?php echo $row_up[7]; ?>" >
列</td>
    </tr>
    <tr>
      <td align="right">集装箱待装车：</td>
      <td><input name="dzc" type="text" id="dzc" value="<?php echo $row_up[9]; ?>" >
车</td>
    </tr>
    <tr>
      <td align="right">集装箱待卸车：</td>
      <td>

        <input name="dxc" type="text" id="dxc"  size="16"  value="<?php echo $row_up[8]; ?>">
车 </td>
    </tr>
    <tr>
      <td align="right">&nbsp;</td>
      <td><input type="submit" name="Submit" value="提交">
        <input name="action" type="hidden" id="action" value="update">
      <input type="reset" name="Submit" value="重置"></td>
    </tr>
  </table>
</form>
</body>
</html>
<?php
}
else{


?>
<meta http-equiv="refresh" content="0;URL=admin_index.php">
<?php }?>
